package com.example.demo.entity.requestJson;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author : 杨丽辉
 * @date : 2021/3/3 11:02
 * @description:
 */
@ApiModel("创作添加书籍基本信息请求Json类")
public class ABookInformationReq {

    /**
     * 书籍名称
     * isnull 0
     */        @ApiModelProperty(value="书籍名称",position=1)
    private String bookName;
    /**
     * 书籍简介
     * isnull 0
     */        @ApiModelProperty(value="书籍简介", position=3)
    private String bookInfo;

    /**
     * 作者id
     * isnull 0
     */        @ApiModelProperty(value="作者id",position=5)
    private String authorId;
    /**
     * 书籍封面图片链接
     * isnull 0
     */        @ApiModelProperty(value="书籍封面图片链接",position=6)
    private String bookPic;
    /**
     * 书籍一级标签数组（由前端去分割）
     * isnull 0
     */        @ApiModelProperty(value="书籍一级标签数组（由前端去分割）",position=9)
    private String bookOnelabel;
    /**
     * 书籍二级标签数组（由前端去分割）
     * isnull 0
     */        @ApiModelProperty(value="书籍二级标签数组（由前端去分割）",position=11)
    private String bookTwolabel;

    /**
     * 书籍属性（0：原创；1：转载；2：基于原文学作品创作）
     * isnull 0
     */        @ApiModelProperty(value="书籍属性（0：原创；1：转载；2：基于原文学作品创作）",position=12)
    private Integer bookAttributes;

    /**
     * 一句话介绍书籍
     * isnull 0
     */        @ApiModelProperty(value="一句话介绍书籍",position=16)
    private String oneWord;


    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }


    public String getBookInfo() {
        return bookInfo;
    }

    public void setBookInfo(String bookInfo) {
        this.bookInfo = bookInfo;
    }


    public String getAuthorId() {
        return authorId;
    }

    public void setAuthorId(String authorId) {
        this.authorId = authorId;
    }

    public String getBookPic() {
        return bookPic;
    }

    public void setBookPic(String bookPic) {
        this.bookPic = bookPic;
    }

    public String getBookOnelabel() {
        return bookOnelabel;
    }

    public void setBookOnelabel(String bookOnelabel) {
        this.bookOnelabel = bookOnelabel;
    }

    public String getBookTwolabel() {
        return bookTwolabel;
    }

    public void setBookTwolabel(String bookTwolabel) {
        this.bookTwolabel = bookTwolabel;
    }

    public Integer getBookAttributes() {
        return bookAttributes;
    }

    public void setBookAttributes(Integer bookAttributes) {
        this.bookAttributes = bookAttributes;
    }

    public String getOneWord() {
        return oneWord;
    }

    public void setOneWord(String oneWord) {
        this.oneWord = oneWord;
    }


    @Override
    public String toString() {
        return "ABookInformationReq{" +
                "bookName='" + bookName + '\'' +
                ", bookInfo='" + bookInfo + '\'' +
                ", authorId='" + authorId + '\'' +
                ", bookPic='" + bookPic + '\'' +
                ", bookOnelabel='" + bookOnelabel + '\'' +
                ", bookTwolabel='" + bookTwolabel + '\'' +
                ", bookAttributes=" + bookAttributes +
                ", oneWord='" + oneWord + '\'' +
                '}';
    }
}
